package com.google.code.irouter.portal.client.rpc.api;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface ApiServiceAsync {

	void loadDetector(AsyncCallback<List<ApiResult>> callback);
	void loadSender(AsyncCallback<List<ApiResult>> callback);
	void load(String type, AsyncCallback<List<ApiResult>> callback);
	void remove(String[] ids, AsyncCallback<Boolean> callback);
	void save(String id, String name, String type, String refrence,
			AsyncCallback<Boolean> callback);
	void get(String id, AsyncCallback<ApiResult> callback);

}
